package com.young.shop.pojo.vo;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModelProperty;

import java.math.BigDecimal;
import java.util.Date;

public class OrderServiceVO {
   // @ApiModelProperty(value = "订单id")
    private Long id;
   // @ApiModelProperty(value = "订单状态")
    private Integer status;
    //@ApiModelProperty(value = "订单数量")
    private Integer quantity;

  //  @ApiModelProperty(value = "订单价格")
    private BigDecimal orderPrice;


  // @ApiModelProperty(value = "创建时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createDate;
 //   @ApiModelProperty(value = "发货时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date deliveryDate;
  //  @ApiModelProperty(value = "取消时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cancelDate;
   // @ApiModelProperty(value = "收获时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date receiveDate;
    //@ApiModelProperty(value = "用户名")
    private String userName;
   // @ApiModelProperty(value = "商品名字")
    private String goodsName;

   // @ApiModelProperty(value = "商品价格")
    private BigDecimal price;

    //@ApiModelProperty(value = "订单商品数量")
    private Integer count;
    //@ApiModelProperty(value = "商品描述")
    private String introduction;
  //  @ApiModelProperty(value = "商品图片")
    private String imgUrl;
  // @ApiModelProperty(value = "商品类型")
    private String type;

    //@ApiModelProperty(value = "订单单个商品数量")
    private Integer goodsNumber;

    @Override
    public String toString() {
        return "OrderServiceVO{" +
                "id=" + id +
                ", status=" + status +
                ", quantity=" + quantity +
                ", orderPrice=" + orderPrice +
                ", createDate=" + createDate +
                ", deliveryDate=" + deliveryDate +
                ", cancelDate=" + cancelDate +
                ", receiveDate=" + receiveDate +
                ", userName='" + userName + '\'' +
                ", goodsName='" + goodsName + '\'' +
                ", price=" + price +
                ", count=" + count +
                ", introduction='" + introduction + '\'' +
                ", imgUrl='" + imgUrl + '\'' +
                ", type='" + type + '\'' +
                ", orderPrice=" + orderPrice +
                ", goodsNumber=" + goodsNumber +
                '}';
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getOrderPrice() {
        return orderPrice;
    }

    public void setOrderPrice(BigDecimal orderPrice) {
        this.orderPrice = orderPrice;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }

    public Date getDeliveryDate() {
        return deliveryDate;
    }

    public void setDeliveryDate(Date deliveryDate) {
        this.deliveryDate = deliveryDate;
    }

    public Date getCancelDate() {
        return cancelDate;
    }

    public void setCancelDate(Date cancelDate) {
        this.cancelDate = cancelDate;
    }

    public Date getReceiveDate() {
        return receiveDate;
    }

    public void setReceiveDate(Date receiveDate) {
        this.receiveDate = receiveDate;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public BigDecimal getPrice() {
        return price;
    }

    public void setPrice(BigDecimal price) {
        this.price = price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction;
    }

    public String getImgUrl() {
        return imgUrl;
    }

    public void setImgUrl(String imgUrl) {
        this.imgUrl = imgUrl;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public Integer getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(Integer goodsNumber) {
        this.goodsNumber = goodsNumber;
    }
}
